// pc/06my/finance.js
var co = require('../../js/common.js')
var app = getApp()
var _this, _data
Page({
   data: {
      financeList: []
   },

   onLoad: function (options) {
      _this = this
      _data = this.data
      this.getFinanceList()
   },

   getFinanceList: function () {
      var params = {
         unionid: app.aData.userInfo.unionid,
         org: 'repair'
      }
      co.getShareApi('finance/Fi/payList', params, function (res) {
         _this.setData({ financeList: res.data })
      })
   },

   onShareAppMessage: function () { }
})